﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200119D RID: 4509
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SettleTrackPhotoStageScRsp : IMessage<SettleTrackPhotoStageScRsp>, IMessage, IEquatable<SettleTrackPhotoStageScRsp>, IDeepCloneable<SettleTrackPhotoStageScRsp>, IBufferMessage
	{
		// Token: 0x1700390C RID: 14604
		// (get) Token: 0x0600C9D5 RID: 51669 RVA: 0x0021FF3B File Offset: 0x0021E13B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SettleTrackPhotoStageScRsp> Parser
		{
			get
			{
				return SettleTrackPhotoStageScRsp._parser;
			}
		}

		// Token: 0x1700390D RID: 14605
		// (get) Token: 0x0600C9D6 RID: 51670 RVA: 0x0021FF42 File Offset: 0x0021E142
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SettleTrackPhotoStageScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700390E RID: 14606
		// (get) Token: 0x0600C9D7 RID: 51671 RVA: 0x0021FF54 File Offset: 0x0021E154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SettleTrackPhotoStageScRsp.Descriptor;
			}
		}

		// Token: 0x0600C9D8 RID: 51672 RVA: 0x0021FF5B File Offset: 0x0021E15B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SettleTrackPhotoStageScRsp()
		{
		}

		// Token: 0x0600C9D9 RID: 51673 RVA: 0x0021FF70 File Offset: 0x0021E170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SettleTrackPhotoStageScRsp(SettleTrackPhotoStageScRsp other) : this()
		{
			this.gNINDCOPPND_ = other.gNINDCOPPND_.Clone();
			this.retcode_ = other.retcode_;
			this.stageId_ = other.stageId_;
			this.scoreId_ = other.scoreId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C9DA RID: 51674 RVA: 0x0021FFC9 File Offset: 0x0021E1C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SettleTrackPhotoStageScRsp Clone()
		{
			return new SettleTrackPhotoStageScRsp(this);
		}

		// Token: 0x1700390F RID: 14607
		// (get) Token: 0x0600C9DB RID: 51675 RVA: 0x0021FFD1 File Offset: 0x0021E1D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ECHLGCEPDLJ> GNINDCOPPND
		{
			get
			{
				return this.gNINDCOPPND_;
			}
		}

		// Token: 0x17003910 RID: 14608
		// (get) Token: 0x0600C9DC RID: 51676 RVA: 0x0021FFD9 File Offset: 0x0021E1D9
		// (set) Token: 0x0600C9DD RID: 51677 RVA: 0x0021FFE1 File Offset: 0x0021E1E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003911 RID: 14609
		// (get) Token: 0x0600C9DE RID: 51678 RVA: 0x0021FFEA File Offset: 0x0021E1EA
		// (set) Token: 0x0600C9DF RID: 51679 RVA: 0x0021FFF2 File Offset: 0x0021E1F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x17003912 RID: 14610
		// (get) Token: 0x0600C9E0 RID: 51680 RVA: 0x0021FFFB File Offset: 0x0021E1FB
		// (set) Token: 0x0600C9E1 RID: 51681 RVA: 0x00220003 File Offset: 0x0021E203
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScoreId
		{
			get
			{
				return this.scoreId_;
			}
			set
			{
				this.scoreId_ = value;
			}
		}

		// Token: 0x0600C9E2 RID: 51682 RVA: 0x0022000C File Offset: 0x0021E20C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SettleTrackPhotoStageScRsp);
		}

		// Token: 0x0600C9E3 RID: 51683 RVA: 0x0022001C File Offset: 0x0021E21C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SettleTrackPhotoStageScRsp other)
		{
			return other != null && (other == this || (this.gNINDCOPPND_.Equals(other.gNINDCOPPND_) && this.Retcode == other.Retcode && this.StageId == other.StageId && this.ScoreId == other.ScoreId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C9E4 RID: 51684 RVA: 0x0022008C File Offset: 0x0021E28C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.gNINDCOPPND_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this.ScoreId != 0U)
			{
				num ^= this.ScoreId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C9E5 RID: 51685 RVA: 0x0022010B File Offset: 0x0021E30B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C9E6 RID: 51686 RVA: 0x00220113 File Offset: 0x0021E313
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C9E7 RID: 51687 RVA: 0x0022011C File Offset: 0x0021E31C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.gNINDCOPPND_.WriteTo(ref output, SettleTrackPhotoStageScRsp._repeated_gNINDCOPPND_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this.StageId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.StageId);
			}
			if (this.ScoreId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.ScoreId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C9E8 RID: 51688 RVA: 0x002201A4 File Offset: 0x0021E3A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.gNINDCOPPND_.CalculateSize(SettleTrackPhotoStageScRsp._repeated_gNINDCOPPND_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this.ScoreId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScoreId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C9E9 RID: 51689 RVA: 0x00220228 File Offset: 0x0021E428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SettleTrackPhotoStageScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.gNINDCOPPND_.Add(other.gNINDCOPPND_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			if (other.ScoreId != 0U)
			{
				this.ScoreId = other.ScoreId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C9EA RID: 51690 RVA: 0x0022029D File Offset: 0x0021E49D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C9EB RID: 51691 RVA: 0x002202A8 File Offset: 0x0021E4A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 96U)
				{
					if (num == 58U)
					{
						this.gNINDCOPPND_.AddEntriesFrom(ref input, SettleTrackPhotoStageScRsp._repeated_gNINDCOPPND_codec);
						continue;
					}
					if (num == 96U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 104U)
					{
						this.StageId = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.ScoreId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005104 RID: 20740
		private static readonly MessageParser<SettleTrackPhotoStageScRsp> _parser = new MessageParser<SettleTrackPhotoStageScRsp>(() => new SettleTrackPhotoStageScRsp());

		// Token: 0x04005105 RID: 20741
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005106 RID: 20742
		public const int GNINDCOPPNDFieldNumber = 7;

		// Token: 0x04005107 RID: 20743
		private static readonly FieldCodec<ECHLGCEPDLJ> _repeated_gNINDCOPPND_codec = FieldCodec.ForMessage<ECHLGCEPDLJ>(58U, ECHLGCEPDLJ.Parser);

		// Token: 0x04005108 RID: 20744
		private readonly RepeatedField<ECHLGCEPDLJ> gNINDCOPPND_ = new RepeatedField<ECHLGCEPDLJ>();

		// Token: 0x04005109 RID: 20745
		public const int RetcodeFieldNumber = 12;

		// Token: 0x0400510A RID: 20746
		private uint retcode_;

		// Token: 0x0400510B RID: 20747
		public const int StageIdFieldNumber = 13;

		// Token: 0x0400510C RID: 20748
		private uint stageId_;

		// Token: 0x0400510D RID: 20749
		public const int ScoreIdFieldNumber = 14;

		// Token: 0x0400510E RID: 20750
		private uint scoreId_;
	}
}
